#include <iostream>
#include <iomanip>
#include <cmath>

using namespace std;

int main_0013(void)
{
    int a, b, c;
    cin >> a >> b >> c;

    if (a + b <= c || b + c <= a || a + c <= b) {
        cout << "NO";
    } else if ( (a == b) || (a == c) || (b == c)) {
        cout << "Equilateral";
    } else if ( pow(a, 2) + pow(b, 2) == pow(c, 2)
                || pow(a, 2) + pow(c, 2) == pow(b, 2)
                || pow(b, 2) + pow(c, 2) == pow(a, 2)) {
        cout << "Right";
    } else {
        cout << "General";
    }

    return 0;
}
